﻿using Company.Hardware.Base.Extensions;
using Prism.Ioc;
using Prism.Modularity;

namespace Company.Hardware.YaHuiLong
{
    public class YaHuiLongModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            var type = typeof(IFlash3000Decoder);
            var moduleManager = containerProvider.Resolve<IModuleManager>();
            moduleManager.Add(type);//添加解码器的反射
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {

        }
    }
}